package com.ibigcat.module.mdm.controller.admin.operatorlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 操作日志 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OperatorLogRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "13445")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "修改前的日志信息")
    @ExcelProperty("修改前的日志信息")
    private String targetObj;

    @Schema(description = "修改前的齐全数据")
    @ExcelProperty("修改前的齐全数据")
    private String targetAlldata;

    @Schema(description = "修改后的日志信息")
    @ExcelProperty("修改后的日志信息")
    private String sourceAlldata;

    @Schema(description = "来源类型", example = "2")
    @ExcelProperty("来源类型")
    private String sourceType;

    @Schema(description = "来源关联ID（例如商品ID，第三方管理ID）", example = "24754")
    @ExcelProperty("来源关联ID（例如商品ID，第三方管理ID）")
    private Long sourceId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}